-
Home
-
WooCommerce Square
-
4.8.1
-
Code
-
Classes
- Payment_Gateway_Payment_Tokens_Handler
Total Complexity |
88 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
827 |
Lines of code |
291 |
Logical lines of code |
173 |
Comment lines |
366 |
Methods |
27 |
Properties |
3 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_tokens() |
B |
39 |
20 |
57 |
create_token() |
A |
44 |
14 |
43 |
remove_token() |
S |
56 |
7 |
17 |
set_default_token() |
S |
54 |
6 |
20 |
merge_token_data() |
S |
57 |
6 |
16 |
get_token() |
S |
59 |
3 |
15 |
update_token() |
S |
63 |
3 |
10 |
get_user_meta_name() |
S |
69 |
3 |
6 |
user_has_token() |
S |
65 |
3 |
9 |
get_order_note() |
S |
60 |
2 |
14 |
should_tokenize() |
S |
77 |
2 |
3 |
format_for_db() |
S |
68 |
2 |
7 |
get_transient_key() |
S |
66 |
2 |
7 |
update_tokens() |
S |
66 |
2 |
8 |
add_token() |
S |
60 |
1 |
13 |
__construct() |
S |
66 |
1 |
7 |
clear_all_transients() |
S |
67 |
1 |
9 |
get_environment_id() |
S |
82 |
1 |
3 |
clear_transient() |
S |
80 |
1 |
3 |
get_token_editor() |
S |
80 |
1 |
3 |
get_merge_attributes() |
S |
78 |
1 |
3 |
tokenization_forced() |
S |
77 |
1 |
3 |
clear_cache_for_new_token() |
S |
81 |
1 |
3 |
should_delete_token() |
S |
82 |
1 |
3 |
build_token() |
S |
79 |
1 |
3 |
increase_query_limit_for_payment_methods() |
S |
82 |
1 |
3 |
get_gateway() |
S |
82 |
1 |
3 |